package com.cskaoyan.service;

import com.cskaoyan.bean.Admin;
import com.cskaoyan.bean.ListData;

public interface AdminAdminService {
    ListData<Admin> list(Integer page, Integer limit, String username, String sort, String order);

    Admin create(Admin admin, String currentUsername);

    int delete(Admin admin, String currentUsername);

    Admin update(Admin admin, String currentUsername);

    Admin info(Integer userId);

    int selectUserId(String username);
}
